<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        .box {
            width: 330px;
            height: 380px;
            /* background-color: rgb(23, 103, 168); */
            margin: 100px auto;
            transform: rotate(-60deg) skewY(30deg);
            overflow: hidden;
        }
        .box a {
            display: block;
            width: 100%;
            height: 100%;
            transform: skewY(-30deg) rotate(60deg);
            background: url(timg.jpg) no-repeat;
            overflow: hidden;
        }
        .box a h2,
        .box a p {
            display: inline-block;
            float: left;
        }
        .box a h2 {
            width: 50%;
            height: 100%;
            background-color: rgba(0, 0, 0, .4);
            transform: translateX(-100%);
            transition: all .3s;
        }
        .box a p {
            width: 50%;
            height: 100%;
            background-color: rgba(0, 0, 0, .4);
            transform: translateX(100%); 
            transition: all .3s; 
        }
        a:hover h2,
        a:hover p {
            transform: none;
        }
    </style>
</head>
<body>
    <div class="box">
        <a href="#">
            <h2>111</h2>
            <p>222</p>
        </a>
    </div>
</body>
</html>